package com.evil.application.pojo.dto.form.enclosure;

import com.evil.application.pojo.entity.ApplicationFormEnclosure;
import com.evil.common.file.dto.FileRespDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 表单附件 实体
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class FormEnclosureDTO extends FileRespDTO {

    /**
     * 附件id
     */
    private Long applicationFormEnclosureId;

    public FormEnclosureDTO(ApplicationFormEnclosure applicationFormEnclosure) {
        this.applicationFormEnclosureId = applicationFormEnclosure.getFormEnclosureId();
    }
}
